package com.ursu.client.view;

import com.gwtplatform.mvp.client.ViewImpl;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.user.client.ui.Widget;
import com.google.inject.Inject;
import com.ursu.client.presenter.FirstApplicationPresenter;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Button;

public class FirstApplicationView extends ViewImpl implements
		FirstApplicationPresenter.MyView {

	private final Widget widget;

	public interface Binder extends UiBinder<Widget, FirstApplicationView> {
	}

	@Inject
	public FirstApplicationView(final Binder binder) {
		widget = binder.createAndBindUi(this);
	}

	@Override
	public Widget asWidget() {
		return widget;
	}
	@UiField Button logoutBtn;
	
	public Button getLogoutBtn() {
		return logoutBtn;
	}
	
}
